import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

import { actions } from "./actions"
import { state, getters, mutations } from "./mutations"
import test from "./modules/test"
import cate from "./modules/cate"
import specs from "./modules/specs"
import goods from "./modules/goods"
export default new Vuex.Store({
  state,
  mutations,
  actions,
  getters,
  modules: {
    test, cate,specs, goods
  }
})
